//
//  ViewController.swift
//  1.21.Displaying Progress with UIProgressView
//
//  Created by joker on 15/7/22.
//  Copyright (c) 2015年 joker. All rights reserved.
//

import UIKit

class ViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
        
        let progressView = UIProgressView(progressViewStyle:  .Bar)
        progressView.center = view.center
        progressView.progress = 1/2
        progressView.trackTintColor = UIColor.lightGrayColor()
        progressView.tintColor = UIColor.blueColor()
        view.addSubview(progressView)
    }
}

